package com.example.swaggerDemo.entity;

import java.util.Date;

public class ArticleEntity{



    // Fields
    private int id;//描述：id	integer
    private String title;//描述：标题	varchar
    private String pretext;//描述：摘要	varchar
    private String preimage;//描述：缩略图	varchar
    private Date createtime;//描述：创建时间	timestamp
    private String content;//描述：内容	text
    private int status;//描述：状态	integer
    private  int readcount;//阅读数

    // Property Access
    public Integer getId() {
        return this.id;
    }
    public void setId(Integer Id) {
        this.id = Id;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String Title) {
        this.title = Title;
    }
    public String getPretext() {
        return this.pretext;
    }
    public void setPretext(String Pretext) {
        this.pretext = Pretext;
    }
    public String getPreimage() {
        return this.preimage;
    }
    public void setPreimage(String Preimage) {
        this.preimage = Preimage;
    }
    public Date getCreatetime() {
        return this.createtime;
    }
    public void setCreatetime(Date Createtime) {
        this.createtime = Createtime;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String Content) {
        this.content = Content;
    }
    public Integer getStatus() {
        return this.status;
    }
    public void setStatus(Integer Status) {
        this.status = Status;
    }

    public Integer getReadcount() {
        return this.readcount;
    }
    public void setReadcount(Integer readcount) {
        this.readcount = readcount;
    }

}

